<?php
$mainConfig = array(
    
    'mem_cache' => array("127.0.0.1"),
    'enable_slaver'=>false,
	"webmaster" => "comdeng@gmail.com",
	// windows
	"smarty_dir"=>dirname(__FILE__)."\smarty",
	// linux
	//"smarty_dir"=>dirname(__FILE__)."/smarty",
    // level: 0=>trace, 1=>debug, 2=>info, 3=>warn, 4=>error, 5=>fatal
	// windows
    "log_path"=>"d:\log",
    // linux
	//"log_path"=>"/var2/log",
	"log_prefix"=>"xiachufang",
	"log_level"=>1,
	'valid_code_key'=>"VALID_CODE_KEY",
	"max_upload_width"=>540,

    "connections" => array(
		"main_db"=>array(
			"host"=>"localhost",
			"user"=>"root",
			"pass"=>"passw0rd",
			"database"=>"xiachufang",
			"slavers" => array(
	            array(
	            'host'	=> 'localhost',
	            'user'	=> 'root',
	            'pass'	=> 'passw0rd',
	            'enable' => false
	            )
	        )
		 ),
	)
);
?>